package xcmg.device.infra.enums;

/**
 * Created by GYJ on 2018-01-15.
 */
public enum BillDesc {
    SaleNo(1,"GCCC"),
    PurchaseNo(2,"P"),
    DirectPurchaseNo(49,"C"),
    DeliveryReceiptNo(3,"GCFJ"),
    OutputNo(4, "_CK"),
    InputNo(5, "_RK"),
    AbnoramlIn(6, "GCFR"),
    /**
     发货通知

     */
    DeliveryNo(7, "GCFT"),
    AgentApplicationNo(8,"GCCF"),


    /**
     非正常出库

     */
    AbnormalOutNo(9,"GCFC"),

    /**
     * 采购开票
     */
    PurchaseInvoice(45, "GCPI"),

    /**
     * 装箱
     * */
    Boxup(10, "GCZX"),

    /**
     领料单     */
    MaterialsCode(11,"GCLL"),

    /**
     三包申请

     */
    Purchase(12,"GCSB"),


    /**
     * 区域间调拨
     * */
    RegionAllot(13, "GCQD"),


    /**
     * 代理商间调拨
     * */
    AgentAllot(14, "GCDB"),

    /**
     * 冲销入库
     * */
    SaleReverse(15, "GCCX"),

    /**
     * 退货入库
     * */
    SaleReturn(16, "GCTH"),


    /**
     * 盘点单
     * */
    InventoryCheck(17, "PD"),

    /**
     三包出库

     */
    ThreeOut(18,"GCSC"),

    /**
     采购入库

     */
    PurchaseInbound(19,"GCCI"),

	/**
     * 退货申请单
     * */
    ReturnApply(20, "GCTS"),
	/**
     * 期初入库单
     * */
    InitialInventory(21, "GCQR"),

    /**
     * 配送指令入库单
     * */
    DeliveryInstruction(22, "GCPS"),

    /**
     * 三包冲销入库
     * */
    ThreeReverse(23, "GCTX"),

    /**
     * 转库单
     * */
    MaterialTransfer(24, "GCYK"),

    /**
     * 回购单
     * */
    BuyBack(25, "GCHG"),

    /**
     * 回购入库单
     * */
    BackInbound(26, "GCHI"),

    /**
     * 回购入库单
     * */
    BuyPlan(27, "GCBP"),

    /**
     * 收款单
     * */
    FDCheck(28, "GCCK"),

    /**
     * 拆件单
     * */
    CMSplit(29, "GCCJ"),

    /**
     * 拆件恢复单
     * */
    CMRestore(30, "GCCR"),

    /**
     * 送货单
     * */
    SendBill(31, "GCSH"),
    
    BolSendBill(50, "BOLY"),

    /**
     * 直投单
     * */
    DirectBill(32, "GCZT"),

    /**
     * 运单入库单
     * */
    ReceiptIn(33, "GCRI"),

    /**
     * 回购出库单
     * */
    BackOutbound(34, "GCHO"),

    /**
     * 代理商采购计划
     */
    AgentPlan(35,"GCAP"),
    /**
     * 代理商销售单
     */
    SalesNo(38,"GCSN"),

    /**
     * 服务借用
     */
    ServiceBorrow(36,"GCJY"),
    /**
     * 服务借用入库单
     */
    ServiceBorrowIn(37,"GCJI"),
    /**
     * 代理商销售出库单
     */
    SalesOutNo(39,"XSCK"),
    /**
     * 代理商退货单
     */
    SalesReturnNo(40,"XSTH"),
    /**
     *退款单
     * */
    FDRefundCheck(41, "GCRK"),


    /**
     * 区域间调拨申请
     * */
    RegionAllotPlan(42, "GCDS"),

    /**
     * 借用单
     */
    BorrowMaterial(43,"GCJYD"),

    /**
     * 归还单
     */
    ReturnMaterial(44,"GCGHD"),

    PackageSpec(45,"GCBX"),

    /**
     * 进出口运单
     */
    JCKDeliveryReceiptNo(46,"GCJK"),

    /**物流运单*/
    LogisticWaybill(47,"GCWL"),

    /**物流运费结算单*/
    LogisticWaybillFee(48,"GCJS"),

    PurchaseNoZz(49,"Z"),
    PurchaseNoJc(50,"J"),

    //转包单
    ZBD(51, "ZBD"),
    //转包出库单
    ZBCK(52, "ZBCK");


    private String desc;
    private int code;

    BillDesc(int code, String desc) {
        this.desc = desc;
        this.code = code;
    }

    public String getDesc()
    {
        return desc;
    }

    public int getCode()
    {
        return code;
    }

}
